<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>

<script type="text/javascript">
function MyOne( number ) {  
    this.number = number;  
}  
function MyTwo( name ) {  
    this.name = name;  
}  
function MyThree( age ) {  
    this.age = age;  
}  
var one = new MyOne(8);

MyTwo.prototype = one;  

var two = new MyTwo("wang kun");

MyThree.prototype = two;

var three = new MyThree(32);


</script>
</body>
</html>